/* 通用样式 */
@font-face {
  font-family: 'SourceHanSansCN-Regular';
  src: url('/static/fonts/SourceHanSansCN-Regular.otf');
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "SourceHanSansCN-Regular", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

ul, ol, li, dl, dt, dd, p {
  margin: 0;
  padding: 0;
}

/* h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  text-align: left;
  line-height: 0.25rem;
  font-size: 0.14rem;
  font-weight: normal;
} */

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: #409eff;
}

li {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

img {
  vertical-align: middle;
  border: none;
}

:focus {
  outline: none;
}

/* 全局通用 颜色CSS */

.color-red {
  color: #F56C6C;
}

.b-color-red {
  background: #F56C6C;
  color: white;
}

.color-blue {
  color: #4291FA;
}

.b-color-blue {
  background: #4291FA;
  color: white;
}

.color-gray {
  color: #666666;
}

.b-color-gray {
  background: #666666;
  color: white;
}

/* 规范CSS */

.f-c-main {
  color: #303133;
}

.f-c-routine {
  color: #606266;
}

.f-s-modul-title {
  font-size: 0.16rem;
}

;
.f-s-nav-title {
  font-size: 0.14rem;
}

.f-s-text-title {
  font-size: 0.12rem;
}

.b-solidLine {
  border: 1px solid #d7dae2;
}

.b-dottedLine {
  border: 1px dashed #d7dae2;
}

.b-r-small {
  border-radius: 2px;
}

.b-r-large {
  border-radius: 4px;
}

.b-r-primary {
  border-radius: 30px;
}

.b-s-basics {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}

.b-s-light {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
}

/* ------------------- 全局通用FontSize CSS rem多端适配 ---------------------------- */

.f-14 {
  font-size: 14px;
}

.f-16 {
    font-size: 16px;
  }
  
.f-17 {
font-size: 17.5px;
}

.f-18 {
  font-size: 18px;
}

.f-20 {
  font-size: 20px;
}

.f-22 {
  font-size: 22px;
}

.f-24 {
  font-size: 24px;
}

.f-32 {
  font-size: 32px;
}

.f-center {
  text-align: center;
}

.f-right {
  text-align: right;
}

.f-left {
  text-align: left;
}

/* --------------------------------- 次级通用 --------------------------------------- */

.container {
  box-sizing: border-box;
}

.p-20 {
  padding: 20px;
}

.p-40 {
  padding: 0.4rem;
}

.m-l-9 {
  margin-left: 9px;
}

.m-b-20 {
  margin-bottom: 0.2rem;
}

.m-r-40 {
  margin-right: 0.4rem;
}

.d-flex {
  display: flex;
  align-items: center;
}

.title-blok>div>p {
  margin: 0.1rem 0;
}

.d-p-flex {
  justify-content: space-between;
}

.div-table {
  margin-top: 15px;
  /* width: 99%; */
  box-sizing: border-box;
  height: calc(100% - 60px - 40px - 15px);
  overflow-y: auto;
}

.div-table>.el-table {
  padding-left: 20px;
}

/*修改滚动条样式*/

/* .div-table::-webkit-scrollbar, .el-dialog::-webkit-scrollbar {
	width: 0.1rem;
	height: 0.1rem;
}

.div-table::-webkit-scrollbar-track, .el-dialog::-webkit-scrollbar-track {
	background: rgb(239, 239, 239);
	border-radius: 2px;
}

.div-table::-webkit-scrollbar-thumb, .el-dialog::-webkit-scrollbar-thumb {
	background: #c6c6c6;
	border-radius: 10px;
}

.div-table::-webkit-scrollbar-thumb:hover, .el-dialog::-webkit-scrollbar-thumb:hover {
	background: #666;
} */

/* 修改分页组件 */

.more, .btn-next, .btn-prev, .number {
  background-color: transparent !important;
}

.page-div {
  width:100%;
  position: absolute;
  bottom: 0;
  height: 40px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .el-pagination>.el-pager>li, .el-pagination>button {
  border: 1px solid #d9d9d9 !important;
  margin: 0 0.05rem;
  font-size: 0.16rem;
} */

.el-pager li.active {
  border: 1px solid #409eff !important;
}

.t-decoration {
  text-decoration: none !important;
}

.el-table-column--selection .cell {
  padding-left: 14px !important;
}

.el-image-viewer__btn {
  color: white;
}

/** list页面搜索框重构 **/

.query-form {
  background: #fff;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 3px 5px;
  position: relative;
  z-index: 99;
}

.query-form .el-form-item {
  margin-bottom: 0px !important;
}
.query-form>.el-col>.el-form-item {
  display: flex;
}

/** list 查询多行（2行）时 **/

.query-form-2 {
  height: 85px !important;
  display: block !important;
  padding-top: 10px !important;
}
.query-form-2>.el-row:first-child{
    margin-bottom: 10px;
}

/** 属性 **/

.title-prop {
  border: 1px solid #4391fb;
  display: inline-block;
  color: #4391fb;
  font-weight: 400;
  padding: 0 6px;
  margin-left: 5px;
  border-radius: 3px;
  font-size: 12px;
}

/** 自定义表格 **/

.list-div {
  padding: 15px 15px;
  padding-top: 0px;
}

.list-div .el-col {
  font-size: 13px;
  color: #4d4d4d;
  margin: 2px 0;
}

.el-tag,.el-form-item__label,.el-button--mini,.el-table--mini,.el-input--mini{
  font-size: 13px;
}

.list-div .title {
  font-size: 14px;
  font-weight: 600;
}

.list-div>.el-row {
  background: white;
  border-radius: 3px;
  margin-bottom: 15px;
  padding: 5px 10px;
}

.list-div>.el-row:hover {
  background: #e5f1ff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 10px;
}

/** 上传图片样式修改 **/

/* .update-img .el-form-item__content {
	display: flex;
}

.update-img .el-form-item__content>div {
	margin-right: .3rem;
} */

/* 假必录 *为红色 */

.fack-must>.el-form-item__label::before {
  color: #F56C6C !important;
}

/* 全局 Loading  */

.list-loading {
  z-index: 999 !important;
}

/* img */

img {
  image-rendering: -moz-crisp-edges;
  /* Firefox */
  image-rendering: -o-crisp-edges;
  /* Opera */
  image-rendering: -webkit-optimize-contrast;
  /* Webkit (non-standard naming) */
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  /* IE (non-standard property) */
}
